<template>
	<div class="shopinfo">
            <cell title="店名" :value="bpName" is-link></cell>
<selector v-model="categoryNo" title="分类" :options="plainList" @on-change="onChange"></selector>
	    <x-input
	     title="地址"
	     type="text"
          :value="address"></x-input>
  <x-input
	     title="联系电话"
	     type="text"
          :value="contactNumber"></x-input><x-input
	     title="时间"
	     type="text"
          :value="address"></x-input>
<!-- <group title="set value=广西"> -->
<!--       <selector v&#45;model="value1" title="分类" :options="plainList" @on&#45;change="onChange"></selector> -->
<!--     </group> -->
<x-textarea title="店铺介绍" placeholder="请填写介绍信息" :show-counter="false" :rows="3" inline-desc="0/100"></x-textarea>
  <x-button type="warn">保存</x-button>
	</div>
</template>
<script>
	import { Cell, XInput ,Group,Selector,XTextarea,XButton } from "./index.js"
	export default {
		data (){
			return {
				bpName:"店名",//店名;
				categoryNo:"美食",//分类编码 ，
				address:"china",//地址，
				contactNumber:"123456",//电话，
				businessHours:"21:11",//时间，
				note:"fffffffff",//介绍 ,
				plainList:['美食','调查']
			}
		},
		components: {
		   Cell,
		   XInput,
		  Group,
		  Selector,
		XTextarea ,
		XButton 
		},
		methods: {
			onChange: function (val){
				console.error(val);
			},
			saveData: function () {
				this.$http.post("")
			}
		}
	}
	</script>
<style></style>
